package com.eascs.web.o2o.sd.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SD数据
 * @author ycz
 *
 */
@Entity
@Table(name="customer_sd")
public class CustomerSd {
	@Id
	@Column(name="id")
	private String id;//主键ID
	@Column(name="cno")
	private String cno;//客户关联ID
	@Column(name="sale_amount")
	private Double saleAmount;//销售额
	@Column(name="payment_amount")
	private Double paymentAmount;//回款额
	@Column(name="month")
	private String month;//月份
	@Column(name="createtime")
	private Date createTime;//创建时间
	@Column(name="updatetime")
	private Date updateTime;//最新拉取SD时间
	
	public CustomerSd() {
		super();
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCno() {
		return cno;
	}
	public void setCno(String cno) {
		this.cno = cno;
	}
	public Double getSaleAmount() {
		return saleAmount;
	}
	public void setSaleAmount(Double saleAmount) {
		this.saleAmount = saleAmount;
	}
	public Double getPaymentAmount() {
		return paymentAmount;
	}
	public void setPaymentAmount(Double paymentAmount) {
		this.paymentAmount = paymentAmount;
	}
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	@Override
	public String toString() {
		return "EabaCustomer [id=" + id + ", cno=" + cno + ", saleAmount=" + saleAmount + ", paymentAmount=" + paymentAmount + ", month=" + month + ", createTime=" + createTime + ", updateTime=" + updateTime + "]";
	}
}
